package com.example.ordersys.mapper;

import com.example.ordersys.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:咭咭熊
 * Date:2021 - 07 - 31
 * Time:14:57
 */
@Mapper
public interface UserMapper {
    //1.注册
    public int register(UserInfo userInfo);

    //2.获取用户信息列表
    public List<UserInfo> getUserList();

    public UserInfo login(UserInfo userInfo);
}
